package com.wson.controller.xsample.util;

import java.util.List;

import com.wson.behavior.ctrl.IBehavior;
import com.wson.controller.util.AbstractControllerUtil;
import com.wson.model.basic.IBasicView;
import com.wson.widget.render.IRender;


public abstract class AbstractAppControllerUtil extends AbstractControllerUtil {

	@SuppressWarnings("unchecked")
	public static AbstractAppControllerUtil getCurrentUtil(){
		return (AbstractAppControllerUtil)util;
	}

	@Override
	protected List<String> generateControllerActions() {
		List<String> actions = super.generateControllerActions();
		
		return actions;
	}


	@Override
	protected List<Class<? extends IBehavior>> generateExternalBahaviors() {
		List<Class<? extends IBehavior>> behaviors = super.generateExternalBahaviors();
		
		return behaviors;
	}

	@Override
	protected List<Class<? extends IBasicView>> generateExternalModels() {
		List<Class<? extends IBasicView>> models = super.generateExternalModels();
		
		return models;
	}

	@Override
	protected List<Class<? extends IRender>> generateExternalRenders() {
		List<Class<? extends IRender>> renders = super.generateExternalRenders();
		
		return renders;
	}


/*	@Override
	protected Integer getApplicationSerial() {
		return IXSampleAppConstant.APPLICATION_SERIAL;
	}
	@Override
	protected String getApplicationTag() {
		return IXSampleAppConstant.APPLICATION_TAG;
	}
	@Override
	protected String getApplicationSyntax() {
		return IXSampleAppConstant.APPLICATION_SYNTAX;
	}*/
}
